package vns.client.service;

import java.util.List;

import vns.server.domain.Activity;
import vns.shared.ActivityDTO;
import vns.shared.ObjectDTO;

import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.google.gwt.user.client.rpc.RemoteService;
@RemoteServiceRelativePath("activityService")
public interface ActivityService extends RemoteService{
	void Create (ActivityDTO activity);
	void Create	(List<ActivityDTO> listactivity);
	List<ActivityDTO> LoadByObjectFromDTO(ObjectDTO object);
	List<ActivityDTO> LoadByObjectToDTO(ObjectDTO object);
	List<ActivityDTO> DTOLoadAll( );
	void UpdateByDTO(ActivityDTO activity);			
	List<ActivityDTO> UpdateByDTO(List<ActivityDTO> listactivity);
	void Delete(ActivityDTO activity);
	List<ActivityDTO> Delete(List<ActivityDTO> listactivity);
}
